package goover.unit03;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class PropertiesDemo01 {
    public static void main(String[] args){
        Properties pps = new Properties();
        try {
            pps.load(new FileInputStream("test.properties"));
            pps.forEach((k,v) -> System.out.println(k + ":" + v));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
